<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style>
			.wrapper {
				width: 100%;
				height: 100%;
			}
		</style>
	</head>
	<body>
		<div>
			<div class="wrapper" id="reward"><img style="display: none;width: 100%;" src="img/reward/1.jpg" ><img style="display: none;width: 100%;" src="img/reward/2.jpg" ><img style="display: none;width: 100%;" src="img/reward/3.jpg" ></div>
		</div>
	</body>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js" ></script>
	<script>
		function getRandomInt(){
				let random=Math.random();
				if(random>=0&&random<0.1){
					return 0;
				}else if(random<0.3){
					return 1;
				}else {
					return 2;
				}
		}
		$(function(){
			
			$("#reward").children().eq(getRandomInt()).fadeIn();
			
		})
	</script>
</html>
